package org.laobai.shop.goods.entity;

import java.io.Serializable;
import java.util.List;

public class Spec implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id; // id
	private String specName; // 规格参数名称
	private String optionNames; // 规格选项
	
	private List<SpecOption> options;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getOptionNames() {
		return optionNames;
	}

	public void setOptionNames(String optionNames) {
		this.optionNames = optionNames;
	}
	
	
	public List<SpecOption> getOptions() {
		return options;
	}

	public void setOptions(List<SpecOption> options) {
		this.options = options;
	}

	@Override
	public String toString() {
		return "Spec [id=" + id + ", specName=" + specName + ", optionNames=" + optionNames + ", options=" + options
				+ "]";
	}
	
	

}
